package com.itboye.shop.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * 订单详情
 */
public class OrderDetailBean {
    /**
     * country : 中国
     * note :
     * city : 杭州市
     * pay_code :
     * query_status : 1
     * id_card :
     * storeid : 10
     * contactname : 林小允呐
     * uid : 19
     * order_status : 2
     * pay_status : 0
     * _address : {"area":"江干区","country":"中国","notes":"","city":"杭州市","mobile":"15238515707","id_card":"","contactname":"林小允呐","order_code":"T163581708111013288I","uid":"19","province":"浙江省","wxno":"","id":"45","detailinfo":"中州我家","postal_code":"476800"}
     * province : 浙江省
     * price : 3200
     * pay_balance : 0
     * from : 4
     * pay_type : 0
     * id : 45
     * area : 江干区
     * discount_money : 0
     * _auto_op_time : 1482656891
     * createtime : 1482570491
     * publisher_name :
     * goods_amount : 3200
     * mobile : 15238515707
     * post_price : 0
     * comment_status : 0
     * order_code : T163581708111013288I
     * cs_status : 0
     * detailinfo : 中州我家
     * postal_code : 476800
     * updatetime : 1482570491
     * items : [{"sku_desc":"","img":"","createtime":"1482570491","count":"4","weight":"6.00","sku_id":"","ori_price":"0.00","order_code":"T163581708111013288I","price":"800.00","name":"2016新款美人纱面料 针织印花布料饰品 钻石涤纶麻面料厂家直销","dt_goods_unit":"001","id":"48","psku_id":"2","dt_origin_country":"0","p_id":"8"}]
     * status : 1
     */
    private String country;
    private String note;
    private String city;
    private String pay_code;
    private String query_status;
    private String id_card;
    private String storeid;
    private String contactname;
    private String uid;
    private String order_status;
    private String pay_status;
    private _addressEntity _address;
    private String province;
    private String price;
    private String pay_balance;
    private String from;
    private String pay_type;
    private String id;
    private String area;
    private String discount_money;
    private String _auto_op_time;
    private String createtime;
    private String publisher_name;
    private String goods_amount;
    private String mobile;
    private String post_price;
    private String comment_status;
    private String order_code;
    private String cs_status;
    private String detailinfo;
    private String postal_code;
    private String updatetime;
    private List<ItemsEntity> items;
    private String status;
    @SerializedName("_payinfo")
    private OrderPayInfo payInfo;

    public OrderPayInfo getPayInfo() {
        return payInfo;
    }

    public void setPayInfo(OrderPayInfo payInfo) {
        this.payInfo = payInfo;
    }

    public static class OrderPayInfo {
        /**
         * "id": "51",
         * "order_content": "T172113493395463762R",
         * "createtime": "1485070181",
         * "uid": "136",
         * "pay_type": "4",
         * "pay_money": "10800",
         * "true_pay_money": "10800",
         * "pay_code": "PA172115294187160542R",
         * "trade_no": "",
         * "pay_balance": "0",
         * "pay_status": "1",
         * "pay_currency": "rmb",
         * "update_time": "1485070181",
         * "b_status": "0"
         */
        String id, order_content, createtime, uid, pay_type, pay_money, true_pay_money, pay_code, trade_no, pay_balance, pay_status, pay_currency, update_time, b_status;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getOrder_content() {
            return order_content;
        }

        public void setOrder_content(String order_content) {
            this.order_content = order_content;
        }

        public String getCreatetime() {
            return createtime;
        }

        public void setCreatetime(String createtime) {
            this.createtime = createtime;
        }

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public String getPay_type() {
            return pay_type;
        }

        public void setPay_type(String pay_type) {
            this.pay_type = pay_type;
        }

        public String getPay_money() {
            return pay_money;
        }

        public void setPay_money(String pay_money) {
            this.pay_money = pay_money;
        }

        public String getTrue_pay_money() {
            return true_pay_money;
        }

        public void setTrue_pay_money(String true_pay_money) {
            this.true_pay_money = true_pay_money;
        }

        public String getPay_code() {
            return pay_code;
        }

        public void setPay_code(String pay_code) {
            this.pay_code = pay_code;
        }

        public String getTrade_no() {
            return trade_no;
        }

        public void setTrade_no(String trade_no) {
            this.trade_no = trade_no;
        }

        public String getPay_balance() {
            return pay_balance;
        }

        public void setPay_balance(String pay_balance) {
            this.pay_balance = pay_balance;
        }

        public String getPay_status() {
            return pay_status;
        }

        public void setPay_status(String pay_status) {
            this.pay_status = pay_status;
        }

        public String getPay_currency() {
            return pay_currency;
        }

        public void setPay_currency(String pay_currency) {
            this.pay_currency = pay_currency;
        }

        public String getUpdate_time() {
            return update_time;
        }

        public void setUpdate_time(String update_time) {
            this.update_time = update_time;
        }

        public String getB_status() {
            return b_status;
        }

        public void setB_status(String b_status) {
            this.b_status = b_status;
        }
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public void setPay_code(String pay_code) {
        this.pay_code = pay_code;
    }

    public void setQuery_status(String query_status) {
        this.query_status = query_status;
    }

    public void setId_card(String id_card) {
        this.id_card = id_card;
    }

    public void setStoreid(String storeid) {
        this.storeid = storeid;
    }

    public void setContactname(String contactname) {
        this.contactname = contactname;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public void setOrder_status(String order_status) {
        this.order_status = order_status;
    }

    public void setPay_status(String pay_status) {
        this.pay_status = pay_status;
    }

    public void set_address(_addressEntity _address) {
        this._address = _address;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public void setPay_balance(String pay_balance) {
        this.pay_balance = pay_balance;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public void setPay_type(String pay_type) {
        this.pay_type = pay_type;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public void setDiscount_money(String discount_money) {
        this.discount_money = discount_money;
    }

    public void set_auto_op_time(String _auto_op_time) {
        this._auto_op_time = _auto_op_time;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public void setPublisher_name(String publisher_name) {
        this.publisher_name = publisher_name;
    }

    public void setGoods_amount(String goods_amount) {
        this.goods_amount = goods_amount;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public void setPost_price(String post_price) {
        this.post_price = post_price;
    }

    public void setComment_status(String comment_status) {
        this.comment_status = comment_status;
    }

    public void setOrder_code(String order_code) {
        this.order_code = order_code;
    }

    public void setCs_status(String cs_status) {
        this.cs_status = cs_status;
    }

    public void setDetailinfo(String detailinfo) {
        this.detailinfo = detailinfo;
    }

    public void setPostal_code(String postal_code) {
        this.postal_code = postal_code;
    }

    public void setUpdatetime(String updatetime) {
        this.updatetime = updatetime;
    }

    public void setItems(List<ItemsEntity> items) {
        this.items = items;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCountry() {
        return country;
    }

    public String getNote() {
        return note;
    }

    public String getCity() {
        return city;
    }

    public String getPay_code() {
        return pay_code;
    }

    public String getQuery_status() {
        return query_status;
    }

    public String getId_card() {
        return id_card;
    }

    public String getStoreid() {
        return storeid;
    }

    public String getContactname() {
        return contactname;
    }

    public String getUid() {
        return uid;
    }

    public String getOrder_status() {
        return order_status;
    }

    public String getPay_status() {
        return pay_status;
    }

    public _addressEntity get_address() {
        return _address;
    }

    public String getProvince() {
        return province;
    }

    public String getPrice() {
        return price;
    }

    public String getPay_balance() {
        return pay_balance;
    }

    public String getFrom() {
        return from;
    }

    public String getPay_type() {
        return pay_type;
    }

    public String getId() {
        return id;
    }

    public String getArea() {
        return area;
    }

    public String getDiscount_money() {
        return discount_money;
    }

    public String get_auto_op_time() {
        return _auto_op_time;
    }

    public String getCreatetime() {
        return createtime;
    }

    public String getPublisher_name() {
        return publisher_name;
    }

    public String getGoods_amount() {
        return goods_amount;
    }

    public String getMobile() {
        return mobile;
    }

    public String getPost_price() {
        return post_price;
    }

    public String getComment_status() {
        return comment_status;
    }

    public String getOrder_code() {
        return order_code;
    }

    public String getCs_status() {
        return cs_status;
    }

    public String getDetailinfo() {
        return detailinfo;
    }

    public String getPostal_code() {
        return postal_code;
    }

    public String getUpdatetime() {
        return updatetime;
    }

    public List<ItemsEntity> getItems() {
        return items;
    }

    public String getStatus() {
        return status;
    }

    public class _addressEntity {
        /**
         * area : 江干区
         * country : 中国
         * notes :
         * city : 杭州市
         * mobile : 15238515707
         * id_card :
         * contactname : 林小允呐
         * order_code : T163581708111013288I
         * uid : 19
         * province : 浙江省
         * wxno :
         * id : 45
         * detailinfo : 中州我家
         * postal_code : 476800
         */
        private String area;
        private String country;
        private String notes;
        private String city;
        private String mobile;
        private String id_card;
        private String contactname;
        private String order_code;
        private String uid;
        private String province;
        private String wxno;
        private String id;
        private String detailinfo;
        private String postal_code;

        public void setArea(String area) {
            this.area = area;
        }

        public void setCountry(String country) {
            this.country = country;
        }

        public void setNotes(String notes) {
            this.notes = notes;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public void setId_card(String id_card) {
            this.id_card = id_card;
        }

        public void setContactname(String contactname) {
            this.contactname = contactname;
        }

        public void setOrder_code(String order_code) {
            this.order_code = order_code;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public void setProvince(String province) {
            this.province = province;
        }

        public void setWxno(String wxno) {
            this.wxno = wxno;
        }

        public void setId(String id) {
            this.id = id;
        }

        public void setDetailinfo(String detailinfo) {
            this.detailinfo = detailinfo;
        }

        public void setPostal_code(String postal_code) {
            this.postal_code = postal_code;
        }

        public String getArea() {
            return area;
        }

        public String getCountry() {
            return country;
        }

        public String getNotes() {
            return notes;
        }

        public String getCity() {
            return city;
        }

        public String getMobile() {
            return mobile;
        }

        public String getId_card() {
            return id_card;
        }

        public String getContactname() {
            return contactname;
        }

        public String getOrder_code() {
            return order_code;
        }

        public String getUid() {
            return uid;
        }

        public String getProvince() {
            return province;
        }

        public String getWxno() {
            return wxno;
        }

        public String getId() {
            return id;
        }

        public String getDetailinfo() {
            return detailinfo;
        }

        public String getPostal_code() {
            return postal_code;
        }
    }

    public class ItemsEntity {
        /**
         * sku_desc :
         * img :
         * createtime : 1482570491
         * count : 4
         * weight : 6.00
         * sku_id :
         * ori_price : 0.00
         * order_code : T163581708111013288I
         * price : 800.00
         * name : 2016新款美人纱面料 针织印花布料饰品 钻石涤纶麻面料厂家直销
         * dt_goods_unit : 001
         * id : 48
         * psku_id : 2
         * dt_origin_country : 0
         * p_id : 8
         */
        private String sku_desc;
        private String img;
        private String createtime;
        private String count;
        private String weight;
        private String sku_id;
        private String ori_price;
        private String order_code;
        private String price;
        private String name;
        private String dt_goods_unit;
        private String id;
        private String psku_id;
        private String dt_origin_country;
        private String p_id;

        public void setSku_desc(String sku_desc) {
            this.sku_desc = sku_desc;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public void setCreatetime(String createtime) {
            this.createtime = createtime;
        }

        public void setCount(String count) {
            this.count = count;
        }

        public void setWeight(String weight) {
            this.weight = weight;
        }

        public void setSku_id(String sku_id) {
            this.sku_id = sku_id;
        }

        public void setOri_price(String ori_price) {
            this.ori_price = ori_price;
        }

        public void setOrder_code(String order_code) {
            this.order_code = order_code;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setDt_goods_unit(String dt_goods_unit) {
            this.dt_goods_unit = dt_goods_unit;
        }

        public void setId(String id) {
            this.id = id;
        }

        public void setPsku_id(String psku_id) {
            this.psku_id = psku_id;
        }

        public void setDt_origin_country(String dt_origin_country) {
            this.dt_origin_country = dt_origin_country;
        }

        public void setP_id(String p_id) {
            this.p_id = p_id;
        }

        public String getSku_desc() {
            return sku_desc;
        }

        public String getImg() {
            return img;
        }

        public String getCreatetime() {
            return createtime;
        }

        public String getCount() {
            return count;
        }

        public String getWeight() {
            return weight;
        }

        public String getSku_id() {
            return sku_id;
        }

        public String getOri_price() {
            return ori_price;
        }

        public String getOrder_code() {
            return order_code;
        }

        public String getPrice() {
            return price;
        }

        public String getName() {
            return name;
        }

        public String getDt_goods_unit() {
            return dt_goods_unit;
        }

        public String getId() {
            return id;
        }

        public String getPsku_id() {
            return psku_id;
        }

        public String getDt_origin_country() {
            return dt_origin_country;
        }

        public String getP_id() {
            return p_id;
        }
    }
}
